import request from "@/utils/request";

export default {
  add: async (opts) => await request.post("/score", opts),
  getList: async (cond) => await request.get("/score/list", { params: cond }),
  getDetail: async (id) => await request.get("/score?id=" + id),
  put: async (id, opts) => await request.put("/score?id=" + id, opts),
};
